package com.cc.service;

import com.cc.entity.PageRest;
import com.cc.entity.employee;

import java.sql.SQLException;
import java.util.List;

public interface employeeService {
    //获取所有员工信息
   public List<employee> getAll(String empName);

    boolean add(employee eply);

    employee getById(int id);

    boolean update(employee e);

    boolean delete(int e);
    //分页查询
    PageRest<employee> getPage(int pageNum, int pageSize,String empName);
}
